package com.zhx.basis.设计模式.责任链.demo1;

public class Test1 {

     public static void main(String[] args) {
        Auth1 auth1=new Auth1();
        Auth2 auth2=new Auth2();
        Auth3 auth3=new Auth3();
        auth1.appendNext(auth2.appendNext(auth3));

        auth1.queryAuthInfo();
    }
}
